package com.base.domain.moudles.vo;

import com.base.domain.moudles.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@ApiModel("系统用户表Vo")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserVo extends User {

    /**
     * 验证码
     */
    @ApiModelProperty("验证码")
    private String imageCode;

    /**
     * 用户角色名称
     */
    @ApiModelProperty("角色名称")
    private String roleName;

    /**
     * 所属机构
     */
    @ApiModelProperty
    private String departName;

    /**
     * 旧密码
     */
    @ApiModelProperty
    private String newPassword;

}
